import order_detail_en_US from '@locale/lanres/order-detail/order-detail_en_US';
import manager_info_en_US from '@locale/lanres/manager-info/manager-info_en_US';
import shop_star_en_US from '@locale/lanres/shop-star/shop-star_en_US';
import agricultureproducts_en_US from '@locale/lanres/agriculture-products/agriculture-products_en_US';
import goods_evaluate_en_US from '@locale/lanres/goods-evaluate/goods-evaluate_en_US';
import security_infom_en_US from '@locale/lanres/security-infom/security-infom_en_US';
import shop_evaluate_en_US from '@locale/lanres/shop-evaluate/shop-evaluate_en_US';
import task_evaluate_en_US from '@locale/lanres/task-evaluate/task-evaluate_en_US';
import task_info_en_US from '@locale/lanres/task-info/task-info_en_US';
import securityinfo_en_US from '@locale/lanres/security-info/security-info_en_US';
import order_info_en_US from '@locale/lanres/order-info/order-info_en_US';
import student_info_en_US from '@locale/lanres/student-info/student-info_en_US';
import notice_info_en_US from '@locale/lanres/notice-info/notice-info_en_US';
import shop_examine_en_US from '@locale/lanres/shop-examine/shop-examine_en_US';
import goods_info_en_US from '@locale/lanres/goods-info/goods-info_en_US';
import town_info_en_US from '@locale/lanres/town-info/town-info_en_US';
import shop_info_en_US from '@locale/lanres/shop-info/shop-info_en_US';
import userCustom_en_US from '@locale/lanres/userCustom/userCustom_en_US';
import codelist_en_US from '@locale/lanres/codelist/codelist_en_US';
import commonLogic from '@/locale/logic/common/common-logic';

export default {
    app: {
        gridpage: {
            choicecolumns: 'Choice columns',
            refresh: 'refresh',
            show: 'Show',
            records: 'records',
            totle: 'totle',
        },
        formpage: {
            workflow: {
                startsuccess: 'Workflow started successfully',
                starterror: 'Workflow failed to start'
            }
        },
        tabpage: {
            sureclosetip: {
                title: 'Close warning',
                content: 'Form data Changed, are sure close?',
            },
            closeall: 'Close all',
            closeother: 'Close other',
        },
        fileUpload: {
            caption: 'Upload',
        },
        searchForm:{
            title:'Conditional search',
            searchButton: {
                search: 'Search',
                reset: 'Reset'
            }
        },
        form: {
            rules: {
                'required': 'cannot be empty',
                'string' : 'must be a string',
                'number' : 'must be a number'
            }
        },
        // 非实体视图
        views: {
            setupportalview: {
                caption: commonLogic.appcommonhandle("设置",null),
                setup_portlet:commonLogic.appcommonhandle("设置",null),
            },
            shoptypeappportalview: {
                caption: commonLogic.appcommonhandle("选择商家类型",null),
                examinetype_portlet:commonLogic.appcommonhandle("营地商家",null),
                db_container1_portlet:commonLogic.appcommonhandle("",null),
                db_rawitem1_portlet:commonLogic.appcommonhandle("",null),
            },
            myportalview: {
                caption: commonLogic.appcommonhandle("我的",null),
                my_portlet:commonLogic.appcommonhandle("我的",null),
                db_container1_portlet:commonLogic.appcommonhandle("我的待办",null),
                db_container2_portlet:commonLogic.appcommonhandle("工作台头部",null),
                db_appview2_portlet:commonLogic.appcommonhandle("基本信息",null),
            },
            appindexview: {
                caption: commonLogic.appcommonhandle("共富营平台",null),
            },
            applogoutview: {
                caption: commonLogic.appcommonhandle("退出登录",null),
            },
            workbenchportalview: {
                caption: commonLogic.appcommonhandle("工作台",null),
                db_container1_portlet:commonLogic.appcommonhandle("我的待办",null),
                moe_portlet:commonLogic.appcommonhandle("操作入口",null),
                mytodo_portlet:commonLogic.appcommonhandle("我的待办",null),
                db_container2_portlet:commonLogic.appcommonhandle("工作台头部",null),
                businesssituationlist_portlet:commonLogic.appcommonhandle("经营状况",null),
                db_container4_portlet:commonLogic.appcommonhandle("经营状况",null),
                db_appview1_portlet:commonLogic.appcommonhandle("基本信息",null),
            },
        },
        portlets:{
        },
        menus: {
            examinetype: {
                menuitem1: commonLogic.appcommonhandle("营地",null),
                menuitem2: commonLogic.appcommonhandle("商家",null),
                menuitem3: commonLogic.appcommonhandle("体验点",null),
                menuitem4: commonLogic.appcommonhandle("农户",null),
            },
            moe: {
                menuitem2: commonLogic.appcommonhandle("入驻审核",null),
                menuitem1: commonLogic.appcommonhandle("星级评定",null),
                menuitem7: commonLogic.appcommonhandle("任务管理",null),
                menuitem3: commonLogic.appcommonhandle("商户管理",null),
                menuitem4: commonLogic.appcommonhandle("商品",null),
                menuitem5: commonLogic.appcommonhandle("订单",null),
                menuitem8: commonLogic.appcommonhandle("任务管理",null),
                menuitem9: commonLogic.appcommonhandle("任务管理",null),
                menuitem6: commonLogic.appcommonhandle("渠道",null),
            },
            my: {
                menuitem2: commonLogic.appcommonhandle("个人资料",null),
                menuitem1: commonLogic.appcommonhandle("消息",null),
                menuitem5: commonLogic.appcommonhandle("我的星级",null),
                menuitem4: commonLogic.appcommonhandle("设置",null),
            },
            setup: {
                menuitem1: commonLogic.appcommonhandle("关于系统",null),
                menuitem2: commonLogic.appcommonhandle("清除缓存",null),
                menuitem3: commonLogic.appcommonhandle("退出登录",null),
            },
            examinetypeg: {
                menuitem1: commonLogic.appcommonhandle("体验点",null),
                menuitem2: commonLogic.appcommonhandle("个体",null),
            },
            appindexview: {
                menuitem1: commonLogic.appcommonhandle("首页",null),
                menuitem2: commonLogic.appcommonhandle("店铺申请",null),
                menuitem3: commonLogic.appcommonhandle("我的",null),
            },
            mytodo: {
                menuitem1: commonLogic.appcommonhandle("入驻审核",null),
                menuitem7: commonLogic.appcommonhandle("星级评定",null),
                menuitem9: commonLogic.appcommonhandle("星级评定",null),
                menuitem2: commonLogic.appcommonhandle("待分配的任务",null),
                menuitem3: commonLogic.appcommonhandle("待完成的任务",null),
                menuitem4: commonLogic.appcommonhandle("待评价的任务",null),
                menuitem5: commonLogic.appcommonhandle("待确认的订单",null),
                menuitem6: commonLogic.appcommonhandle("待完成的订单",null),
            },
            loginout: {
                menuitem1: commonLogic.appcommonhandle("退出系统",null),
            },
        },
        components: {
            app_icon_menu: {
                statusValue_open: 'open',
                statusValue_close: 'close',
            }
        },
        button: {
            cancel: 'Cancel',
            confirm: 'Confirm',
            back: 'Back',
            loadmore: 'Load more',
            previousStep: 'Previous step',
            nextStep: 'Next step',
            finish: 'finish',
        },
        loadding: 'Loadding',
        fastsearch: 'Quick search',
        searchcontext: 'Search contont',
        pulling_text: 'Pull down to refresh',
        ctrl:{
            form:"Form",
            multieditviewpanel:"multieditviewpanel",
            searchform:"searchform",
        },
        view:"View",
        notConfig:" Parameter not configured",
        message: {
            success: "successfully",
            fail: "failed",
            savedSuccess: "Saved successfully",
            deleteSccess: "successfully deleted",
            warning: " Warning ",
            confirmToDelete: "Confirm to delete",
            unrecoverable: " Will the delete operation be unrecoverable ",
            totle: " A total of ",
            data: " data"
        },
        statusMessage:{
            200: 'The server successfully returned the requested data',
            201: 'New or modified data is successful.',
            202: 'The request has been queued in the background (asynchronous task).',
            204: 'The data was deleted successfully.',
            400: 'There was an error in the request issued, and the server did not create or modify data.',
            401: 'The user does not have permission (token, user name, wrong password).',
            403: 'The user is authorized, but access is prohibited.',
            404: 'The request issued was for a non-existent record, and the server did not operate.',
            405: 'Method not allowed',
            406: 'The requested format is not available.',
            410: 'The requested resource is permanently deleted and will no longer be available.',
            422: 'When creating an object, a validation error occurred.',
            500: 'An error occurred on the server, please check the server.',
            502: 'Gateway error.',
            503: 'The service is unavailable, the server is temporarily overloaded or maintained.',
            504: 'Gateway timeout.',
        },
        errorMessage: {
            100: 'unknown',
            101: 'Request error',
            5001: 'Data does not exist',
            5002: 'Data already exists and cannot be recreated',
            5003: 'New creation failed',
            5004: 'The data does not exist and cannot be saved',
            5005: 'Data deletion failed'
        },
        title: {
            choose: '选择',
            customDashboard: 'Custom dashboard',
            styleSetting: 'Style setting'
        }
    },
    order_detail: order_detail_en_US,
    manager_info: manager_info_en_US,
    shop_star: shop_star_en_US,
    agricultureproducts: agricultureproducts_en_US,
    goods_evaluate: goods_evaluate_en_US,
    security_infom: security_infom_en_US,
    shop_evaluate: shop_evaluate_en_US,
    task_evaluate: task_evaluate_en_US,
    task_info: task_info_en_US,
    securityinfo: securityinfo_en_US,
    order_info: order_info_en_US,
    student_info: student_info_en_US,
    notice_info: notice_info_en_US,
    shop_examine: shop_examine_en_US,
    goods_info: goods_info_en_US,
    town_info: town_info_en_US,
    shop_info: shop_info_en_US,
    codelist: codelist_en_US,
    userCustom: userCustom_en_US,
};